.elementor-tab-content {
            display: none; /* Hide content by default */
            padding: 15px;
            background-color: #f9f9f9; /* Optional: for better visibility */
        }

        .elementor-tab-content.active {
            display: block; /* Show content when active */
        }

        /* Optional: Style for active toggle title */
        .elementor-tab-title.active .elementor-toggle-icon-closed {
            display: none;
        }

        .elementor-tab-title.active .elementor-toggle-icon-opened {
            display: inline-block;
        }

        .elementor-tab-title .elementor-toggle-icon-opened {
            display: none;
        }

        .elementor-tab-title .elementor-toggle-icon-closed {
            display: inline-block;
        }

        html {scroll-behavior: smooth;}
        body {margin: 0; padding: 0; overflow-x: hidden;}

        /* ---------- Header ---------- */
        .cosmic-hub {
            position: fixed;
            top: 0;
            width: 100%;
            background: #fff;
            box-shadow: 0 2px 5px rgba(0,0,0,.1);
            z-index: 1000;
        }
        .galaxy-zone {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            max-width: 1300px;
            margin: auto;
            padding: 10px 15px;
        }
        .star-logo img {
            max-height: 65px;
            width: auto;
        }
        .orbit-path {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .celestial-node {
            position: relative;
        }
        .stellar-link {
            padding: 10px 15px;
            color: #333;
            text-decoration: none;
            font-weight: 500;
            transition: color .3s;
            display: block;
            font-size: 16px;
        }
        .stellar-link:hover {
            color: #0a71b4;
        }
        .comet-tail {
            font-size: 10px;
            margin-left: 5px;
            color: #0a71b4;
            transition: transform .3s;
        }
        .celestial-node:hover > .stellar-link .comet-tail,
        .celestial-node.active > .stellar-link .comet-tail {
            transform: rotate(180deg);
        }

        /* Desktop dropdown */
        .nebula-drop {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 200px;
            background: #0a71b4;
            box-shadow: 0 4px 10px rgba(0,0,0,.1);
            border-radius: 5px;
            list-style: none;
            padding: 10px 0;
            z-index: 1000;
            flex-direction: column;
        }
        .orbit-path .celestial-node:hover > .nebula-drop,
        .orbit-path .celestial-node.active > .nebula-drop {
            display: flex;
        }
        .nebula-link {
            display: block;
            padding: 10px 15px;
            color: #fff;
            text-decoration: none;
            transition: background .3s;
        }
        .nebula-link:hover {
            background: #095d93;
            color: #fff;
        }
        /* Vertical submenus for Workshops */
        /* .orbit-path .celestial-node.workshops .nebula-drop .nebula-drop {
            position: absolute;
            top: 100%;
            left: 145px;
            margin-left: 0;
            background: #095d93;
            flex-direction: column;
        } */

        /* ---------- Mobile toggle & menu ---------- */
        .lunar-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 20px;
            color: #333;
            cursor: pointer;
            z-index: 1001;
            text-decoration: none;
            outline: none;
        }
        .lunar-toggle:hover,
        .lunar-toggle:focus {
            color: #0a71b4;
        }
        .cosmic-trail {
            display: none;
            position: fixed;
            top: 120px;
            left: 0;
            width: 100%;
            background: #0a71b4;
            padding: 10px 0;
            z-index: 1000;
            list-style: none;
            flex-direction: column;
        }
        .cosmic-trail[aria-hidden="false"] {
            display: flex;
        }
        .cosmic-trail .stellar-link {
            color: #fff;
            padding: 15px 20px;
            display: block;
            font-size: 16px;
            width: 100%;
            text-align: left;
        }
        .cosmic-trail .nebula-drop {
            display: none;
            position: static;
            background: #095d93;
            padding-left: 20px;
            width: 100%;
            margin: 0;
            flex-direction: column;
        }
        .cosmic-trail .celestial-node.active > .nebula-drop {
            display: flex;
        }
        .cosmic-trail .nebula-drop .nebula-drop {
            background: #084773;
            padding-left: 40px;
        }
        .cosmic-trail .nebula-link {
            width: 100%;
            text-align: left;
        }

        /* Enquiry button */
        .nova-button {
            background: #0a71b4;
            color: #fff;
            padding: 8px 45px;
            border-radius: 20px;
            text-decoration: none;
            font-weight: 600;
            border: 2px solid #0a71b4;
            transition: all .3s;
        }
        .nova-button:hover {
            background: transparent;
            color: #0a71b4;
            box-shadow: 0 2px 5px rgba(10,113,180,.3);
        }

        /* ---------- Modals ---------- */
        .astral-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,.6);
            z-index: 1100;
            overflow: auto;
            opacity: 0;
            transition: opacity .3s;
            align-items: center;
            justify-content: center;
        }
        .astral-modal.show {
            display: flex;
            opacity: 1;
        }
        .astral-content {
            background: #fff;
            margin: 5% auto;
            padding: 20px;
            border-radius: 16px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 10px 25px rgba(0,0,0,.3);
            position: relative;
            text-align: center;
            transform: scale(.8);
            transition: transform .3s;
            border: 1px solid #0a71b4;
        }
        .astral-modal.show .astral-content {
            transform: scale(1);
        }
        .astral-close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            color: #333;
            cursor: pointer;
            transition: color .3s;
        }
        .astral-close:hover {
            color: #0a71b4;
        }
        .astral-content h2 {
            font-size: 24px;
            color: #0a71b4;
            margin-bottom: 20px;
            font-weight: 700;
        }
        .stellar-section {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 15px;
            text-align: left;
        }
        .stellar-section h3 {
            font-size: 18px;
            color: #333;
            margin-bottom: 10px;
            font-weight: 600;
        }
        .stellar-section p {
            font-size: 14px;
            color: #555;
            margin: 0;
        }
        .stellar-section a {
            color: #0a71b4;
            text-decoration: none;
            font-weight: 500;
        }
        .stellar-section a:hover {
            text-decoration: underline;
        }

        .pulsar-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,.7);
            z-index: 1100;
            overflow: auto;
            opacity: 0;
            transition: opacity .3s;
            align-items: center;
            justify-content: center;
        }
        .pulsar-modal.show {
            display: flex;
            opacity: 1;
        }
        .pulsar-modal .popup-container {
            position: relative;
            width: 90%;
            max-width: 600px;
            max-height: 80vh;
        }
        .pulsar-modal img.popup-image {
            width: 100%;
            height: auto;
            max-height: 80vh;
            object-fit: contain;
            border-radius: 10px;
            transform: scale(.8);
            transition: transform .3s;
        }
        .pulsar-modal.show img.popup-image {
            transform: scale(1);
        }
        .pulsar-close {
            position: absolute;
            top: 10px;
            right: 20px;
            font-size: 30px;
            color: #fff;
            cursor: pointer;
            transition: color .3s;
            text-shadow: 0 0 5px rgba(0,0,0,.5);
            z-index: 1101;
        }
        .pulsar-close:hover {
            color: #0a71b4;
        }

        /* Back-to-top */
        .back-to-top {
            display: none;
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: #0a71b4;
            color: #fff;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            text-align: center;
            line-height: 50px;
            font-size: 24px;
            cursor: pointer;
            z-index: 1200;
            transition: opacity .3s, background .3s;
            opacity: .8;
        }
        .back-to-top:hover {
            background: #095d93;
            opacity: 1;
        }

        /* ---------- Media queries ---------- */
        @media (max-width: 991px) {
            .lunar-toggle {
                display: block;
                position: absolute;
                top: 41%;
                right: 36px;
                transform: translateY(-50%);
                margin: 0;
                font-size: 20px;
                color: #333;
                cursor: pointer;
                text-decoration: none;
            }
            .orbit-path, .nova-zone {
                display: none;
            }
            .galaxy-zone {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                padding: 10px 15px;
            }
            .star-logo {
                margin-bottom: 0;
                width: auto;
                text-align: left;
            }
            .cosmic-trail {
                top: 120px;
                max-height: calc(100vh - 120px);
                overflow-y: auto;
                overflow-x: hidden;
                scrollbar-width: thin;
            }
            .back-to-top {
                display: block;
            }
        }
        @media (max-width: 576px) {
            .star-logo img {
                max-height: 60px;
            }
            .lunar-toggle {
                font-size: 22px;
                margin: 5px 0;
            }
            .cosmic-trail {
                top: 100px;
                padding: 5px 0;
            }
            .cosmic-trail .stellar-link {
                font-size: 14px;
                padding: 12px 15px;
            }
            .astral-content {
                width: 95%;
                padding: 15px;
                max-height: 80vh;
                overflow-y: auto;
            }
            .astral-content h2 {
                font-size: 20px;
            }
            .stellar-section h3 {
                font-size: 16px;
            }
            .stellar-section p {
                font-size: 13px;
            }
            .pulsar-modal .popup-container {
                width: 95%;
                max-height: 70vh;
            }
            .pulsar-close {
                font-size: 24px;
                right: 15px;
                top: 15px;
            }
            .back-to-top {
                width: 40px;
                height: 40px;
                line-height: 40px;
                font-size: 20px;
            }
        }
        @media (max-width: 400px) {
            .star-logo img {
                max-height: 50px;
            }
            .astral-content {
                padding: 10px;
            }
            .astral-content h2 {
                font-size: 18px;
            }
            .stellar-section {
                padding: 10px;
            }
            .stellar-section h3 {
                font-size: 14px;
            }
            .stellar-section p {
                font-size: 12px;
            }
            .pulsar-modal .popup-container {
                width: 98%;
                max-height: 60vh;
            }
        }
     /* ---------- MEGA MENU ---------- */

/* ===== PROFESSIONAL MEGA MENU ===== */

/* =========================
   BOSS STYLE MEGA MENU
========================= */

/* ==============================
   EDSPARK MEGA MENU FINAL FIX
============================== */

.mega-container {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(12px);

    width: 820px;
    background: #ffffff;
    padding: 28px 32px;
    border-radius: 16px;

    display: grid;
    grid-template-columns: 2fr 1.2fr 1fr;
    gap: 28px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.15);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: all .25s ease;
    z-index: 9999;
}

/* Hover open */

.workshops:hover .mega-container {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* Column layout */

.mega-column {
    display: flex;
    flex-direction: column;
}

/* Section titles */

.mega-column h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0a71b4;
    margin-bottom: 12px;
    border-bottom: 1px solid #eef2f7;
    padding-bottom: 6px;
}

/* Links */

.mega-column a {
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    color: #333;

    transition: all .2s ease;
}

/* Hover effect */

.mega-column a:hover {
    background: #f1f7ff;
    color: #0a71b4;
    transform: translateX(4px);
}

/* Space between items */

.mega-column a + a {
    margin-top: 4px;
}

/* Mobile disable mega menu hover */

@media (max-width: 991px) {
    .mega-container {
        display: none !important;
    }
}

.mega-item {
    margin-bottom: 14px;
}

.mega-item a {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    display: block;
}

.mega-desc {
    font-size: 12.5px;
    color: #666;
    margin-top: 4px;
    line-height: 1.4;
}


/* Hover Open */



/* Links */

.mega-column a {
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    transition: all .2s ease;
}

/* Hover Effect */

.mega-column a:hover {
    background: #f1f7ff;
    color: #0a71b4;
    transform: translateX(4px);
}

/* Item Spacing */

.mega-column a + a {
    margin-top: 4px;
}
